<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>

<%
	String zhucexiaoxima=(String)session.getAttribute("zhucexiaoxima");
	String str="";
	if(zhucexiaoxima!=null)
	{	
		if(zhucexiaoxima.equals("1"))
			str="用户名和密码不能为空";
		else if(zhucexiaoxima.equals("2"))
			str="该用户已存在";
		else if(zhucexiaoxima.equals("3"))
			str="注册成功";
		else if(zhucexiaoxima.equals("4"))
			str="两次密码不一致";
		else
			str="错误信息："+zhucexiaoxima;
		
		session.invalidate();
	}
%>


<html>
  <head>
	  <style>A{text-decoration: NONE} </style>
	  <title>注册</title>
  </head>
  <body style="text-align:center" bgcolor="#000000" text="#ffffff">

	<br><br><br><br><br><br><br><br>
	<font size="+5"><%=str%></font>
	<br><br><br><br><br><br><br><br>
 	
 	<form action="Yonghuzhuce"  method="post">
		用&nbsp;户&nbsp;名：
		<input name="yonghuming"  type="text"/>
		<br><br><br><br>
		密&nbsp;&nbsp;&nbsp;&nbsp;码：
		<input name="mima"  type="password"/>
		<br><br><br><br>
		确认密码：
		<input name="querenmima"  type="password"/>
		<br><br><br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;	
		<input name="submit1" value="提交" type="submit" />
		<input name="submit2" value="重置" type="reset" />				
	</form> 
	<br><br><br><br>
   	 已注册？ <a href="yonghudenglu.jsp"> 点击登陆 </a>
  </body>
</html>
